package cn.ulc.socket.weapp.service;

import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.weapp.model.dto.OrderDTO;
import cn.ulc.socket.weapp.model.dto.OrderListDTO;
import cn.ulc.socket.weapp.model.dto.OrderPayDTO;
import cn.ulc.socket.weapp.model.dto.OrderResultDTO;
import cn.ulc.socket.weapp.model.param.OrderParam;
import cn.ulc.socket.weapp.model.param.OrderSaveParam;

public interface OrderServ {
    OrderResultDTO createOrder(OrderSaveParam param);
    OrderPayDTO orderToPay(String ipAddress , OrderParam param);
    String payCallBack(String xmlResult);
    OrderListDTO findListPage(String status,PaginationParam param);

    OrderDTO findDetail(String orderNo);
    //取消订单
    Boolean cancelOrder(Long id);
    void executeJob();
}
